<!--
<?php
print <<<EOT
-->
<table width="100%" border="0" cellspacing="0" cellpadding="0" style="margin-top:5px;">
  <tr>
    <td style="background:url($webdb[www_url]/images/default/ch/ch_shop.jpg);height:25px;"></td>
  </tr>
</table>
<!--
EOT;
foreach($listdb_moresort AS $key2=>$rss){
print <<<EOT
--> 
<table border="0" cellspacing="0" cellpadding="0" class="dragTable" width="100%">
  <tr> 
    <td class="head"> 
      <h3 class="L"></h3>
      <span class="TAG"><a href="list.php?fid=$rss[fid]">$rss[name]</A></span> 
      <h3 class="R"></h3>
      <span class="more" style="float:right;"><a href="list.php?fid=$rss[fid]">更多...</A></span> 
    </td>
  </tr>
  <tr> 
    <td class="middle"> 
      <!--
EOT;
$i=0;
foreach($rss[article] AS $key1=>$rs){
$i++;
if($i>5)break;
$rs[title]=get_word($rs[full_title],22);
$rs[fontweight] =($rs[fonttype]==1)?'font-weight:bold;':'';
$rs[fontcolor]  =$rs[titlecolor]?"color:$rs[titlecolor];":'';
print <<<EOT
-->
 <table  border="0" cellspacing="0" cellpadding="0" style="float:left;width:135px;margin-top:5px;">
  <tr>
    <td align="center"><a title="$rs[full_title]" href="bencandy.php?fid=$rs[fid]&id=$rs[aid]" target="_blank" style="border:1px solid #ccc;display:block;width:120px;height:90px;"><img width="120" height="90" onerror="this.src='$webdb[www_url]/images/default/nopic.jpg'" style="border:2px solid #fff;" src="$rs[picurl]" border="0"></a></td>
  </tr>
  <tr>
    <td align="center" style="padding-top:5px;"><a title="$rs[full_title]" href="bencandy.php?fid=$rs[fid]&id=$rs[aid]" target="_blank" style="{$rs[fontweight]}{$rs[fontcolor]}">$rs[title]</a></td>
  </tr>
  <tr>
    <td align="center" style="padding-top:3px;"><strike><b>￥$rs[martprice]</b></strike> <b><font color="#FF0000">￥$rs[nowprice]</font></b></td>
  </tr>
  <tr>
    <td align="center" style="padding-bottom:18px;padding-top:3px;"><a title="$rs[full_title]" href="bencandy.php?fid=$rs[fid]&id=$rs[aid]" target="_blank"><img src="$webdb[www_url]/images/default/order_button.gif" border="0"></a></td>
  </tr>
</table>
      <!--
EOT;
}print <<<EOT
-->
    </td>
  </tr>
  <tr> 
    <td class="foot"> 
      <h3 class="L"></h3>
      <h3 class="R"></h3>
    </td>
  </tr>
</table>
<!--
EOT;
}
?>
-->
